package com.atguigu.test06.bean;

import java.util.Date;

/**
 * @author haoranlu
 * @project IntelliJ IDEA
 */
public class Employee {
    private int empid;
    private String name;
    private String sex;
    private String title;
    private Date birthday;

    public Employee() {
    }

    public Employee(int empid, String name, String sex, String title, Date birthday) {
        this.empid = empid;
        this.name = name;
        this.sex = sex;
        this.title = title;
        this.birthday = birthday;
    }

    public int getEmpid() {
        return empid;
    }

    public void setEmpid(int empid) {
        this.empid = empid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    @Override
    public String toString() {
        return "Employee{" +
                "empid=" + empid +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", title='" + title + '\'' +
                ", birthday=" + birthday +
                '}';
    }
}
